<?php
/***********************************************************************
 * @package     CEShop
 * @subpackage  CEShop
 * @author      Ivan <ivanzx@msn.com>
 * @created     2010-06-05
 ***********************************************************************/
if(defined("CESHOP_CONFIG"))
    die("Redefinition macro in :".__FILE__."(".__LINE__.")");
define("CESHOP_CONFIG", true);

CConfig::$configClass   = 'CCEConfig';

class CCEConfig extends CConfig
{
    // This function can not use Option function, 
    // otherwise it will create an infinite loop.
    public function Config()
    {
        $projectPath    = dirname(__FILE__).M_DS.'..'.M_DS;
        $this->AddOption(self::OT_ProjPath,     $projectPath);
        $this->AddOption(self::OT_PluginPath,   $projectPath.'Plugins'.M_DS);
        $this->AddOption(self::OT_CachePath,    $projectPath.'Cache'.M_DS);
        $this->AddOption(self::OT_ThemesPath,   $projectPath.'Themes'.M_DS);
    }
}

?>
